package com.chixing.mapper;

import com.chixing.entity.OrderTransactions;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chixing.entity.VO.OrderVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author smith
 * @since 2025-09-30
 */
@Mapper
public interface OrderTransactionsMapper extends BaseMapper<OrderTransactions> {

    OrderVO getOrderVOByOrderId(@Param("orderId") Long orderId);

    OrderVO getOrderVOByOrderNumber(@Param("orderNumber") String orderNumber);

    OrderVO getOrderAllVOByTransactionsId(@Param("transactionsId") Long transactionsId);
}
